package com.zzl.bonds.ticket.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 统计开立 转让 融资成功的 金额
 *
 * @author sunpp
 * @date 2022-02-16 14:04:05
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class TickecirculationRecordAddDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApidocModelProperty(description = "申请id，如转让申请id or融资申请id，开立id", example = "")
    private Integer applicationId;
    @ApidocModelProperty(description = "票据id", example = "")
    private Integer ticketId;
    @ApidocModelProperty(description = "票据编号", example = "")
    private String ticketNo;
    @ApidocModelProperty(description = "拥有企业id", example = "")
    private String enterpriseId;
    @ApidocModelProperty(description = "金额，转让或融资，签收金额", example = "")
    private Double operationAmount;
    @ApidocModelProperty(description = "拥有企业名称", example = "")
    private String enterpriseName;
    @ApidocModelProperty(description = "0转让，1融资，2，装让签收，3开立签收,4开立", example = "")
    private Integer type;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "签收时间", validate = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "createTime", validate = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApidocModelProperty(description = "updateTime", validate = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApidocModelProperty(description = "creatorId", example = "")
    private Integer creatorId;
    @ApidocModelProperty(description = "isDeleted", example = "")
    private Integer isDeleted;
    @ApidocModelProperty(description = "部门id", example = "")
    private Integer orgId;

}
